//package cn.wolfcode.wolf2w.business.api.factory;
//
//import cn.wolfcode.wolf2w.business.api.RemoteQuestionCollectionService;
//import cn.wolfcode.wolf2w.business.api.domain.QuestionCollection;
//import cn.wolfcode.wolf2w.common.core.domain.R;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//
//public class RemoteQuestionCollectionFactory {
//
//    private final RemoteQuestionCollectionService remoteService;
//
//    public RemoteQuestionCollectionFactory(RemoteQuestionCollectionService remoteService) {
//        this.remoteService = remoteService;
//    }
//
//    public R<?> collect(Long questionId, Long userId) {
//        return remoteService.collect(questionId, userId);
//    }
//
//    public R<?> uncollect(Long questionId, Long userId) {
//        return remoteService.uncollect(questionId, userId);
//    }
//
//    public R<IPage<QuestionCollection>> getUserCollections(Long userId, Integer page, Integer pageSize) {
//        return remoteService.getUserCollections(userId, page, pageSize);
//    }
//}